<?php defined('IN_YUNYECMS') or exit('No permission.'); ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Document Title -->
	<title><?php echo $seo["title"] ;?></title>
	<meta name="keywords" content="<?php echo $seo["keywords"] ;?>" />
	<meta name="description" content="<?php echo $seo["description"] ;?>" />
       <!-- Favicon -->
   <link rel="shortcut icon" type="image/png" href="favicon.png">
    <link href="<?php echo YUNYECMS_PUBLIC;?>plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" />
    <!-- CSS Files -->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/font-awesome.min.css">
    <!--==== Bootstrap css file ====-->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/bootstrap.min.css">
    <!--==== Swiper css file ====-->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/swiper.min.css">
    <!--==== Style css file ====-->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/style.css?201901">
    <!--==== Responsive css file ====-->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/responsive.css?201901">
    <!--==== Theme Color 1 css file ====-->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/theme-color-1.css">
    <!--==== Custom css file ====-->
    <link rel="stylesheet" href="<?php echo TPL;?>static/css/custom.css">
</head>
<body>
     
    <!-- Main header -->
    <!-- End of Main header -->
     <?php include tpl("head","content"); ?>
    <!-- Page title -->
    <?php $find_parse = core::load_class('tag_parse');$data=$find_parse->find_tag(array('catid'=>'42'));?>
    <section class="page-title-wrap" data-bg-img="<?php echo $data["pic"] ;?>" data-rjs="2">
        <div class="container">
            <div class="row align-items-center">
                <div class="col">
                    <div class="page-title" data-animate="fadeInUp" data-delay="1.05">
                        <h1>Member Login</h1>
                    </div>
                </div>
            </div>
        </div>
    </section>
   
     <!-- End of Page title -->
<div class="breadcumb-wrapper">
    <div class="container">
        <div class="pull-left">
            <ul class="list-inline link-list">
                <li><a href="<?php echo ROOT;?>index.php?lang=<?php echo $lang["id"] ;?>">Home</a></li>
				</li>
				 <?php if(is_array($breadcumb)): $i = -1; $__DATA__ = $breadcumb;if(count($__DATA__)==0 )  echo "" ;foreach($__DATA__ as $key=>$v): $mod = ($i % 2 );++$i;?>
				       <?php if($i+1!=count($breadcumb)) { ?>
					   <li><a href="<?php echo $v["url"] ;?>"><?php echo $v["title"] ;?></a></li> 
					   <?php } else { ?>
					   <li><span><?php echo $v["title"] ;?></span></li> 
					   <?php } ?>
				 <?php  endforeach;  endif; ?>
            </ul>
        </div>
        <div class="pull-right">
        </div>
        <div class="clearfix"></div>
    </div>
</div>     
    <!-- Gallery isotope Section -->
    <section class="pt-50 pb-120 default-bg">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <!-- gallery button inner-->
                    <div class="row">
                        <div class="col">
                            <div class="gallery--button-inner text-center" data-animate="fadeInUp">
                                <div class="gallery-button">
                                    <!-- Start Gallery nav -->
                                    <nav>
                                        <ul class="gallery_filter">
											<li  ><a href="<?php echo url('member/member/register');?>"><span class="gallery-btn pt-sans">Sign Up</span></a></li> 
											<li class="active"><a href="<?php echo url('member/member/login');?>"><span class="gallery-btn pt-sans">Member Login</span></a></li> 
										</ul>
                                    </nav>
                                    <!-- Start Gallery nav -->
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- End Of gallery button inner-->
                    <!-- gallery sorting area -->
                    <div class="row">    
                        <div class="col-md-12">
                             <div class="about-content" style="line-height: 2;font-size: 16px;">    
     <script language="javascript">
		function check() {
				var username=document.getElementById("username");
				var pwd=document.getElementById("pwd");
				if (username.value==""){
					window.alert("Username can not be empty!");
					username.focus();
					return false ;
				 }				
				if (pwd.value==""){
					window.alert("password  is required!");
					pwd.focus();
					return false ;
				}	
		}
    </script>                              
                                
         	    <form name=userinfoform class="form-horizontal"  method="post"  action="<?php echo url('member/member/logincheck');?>"   enctype="multipart/form-data"  onsubmit="return check();" >
                         <div class="form-group form-row">
								<label class="col-sm-4 col-form-label  pc_right " for="keywords">Username / mobile：</label>
								 <div class="col-sm-5">
									<input type="text"   class="form-control"  name="username" id="username" placeholder="Please enter your username or mobile number"  />
								</div>
								<div class="col-sm-2">
                                 <span class="font-red"> * </span>
                               </div>
						 </div> 
                        <div class="form-group form-row">
								<label class="col-sm-4 col-form-label  pc_right " for="keywords">password:</label>
								 <div class="col-sm-5">
									<input type="password"   class="form-control"  name="pwd" id="pwd" placeholder="Please enter your password"  />
								</div>
								<div class="col-sm-2">
                                 <span class="font-red"> * </span>
                               </div>
						 </div>  
                        <div class="form-group form-row">
                          <label for="tel" class="col-sm-4 control-label"></label>
                          <div class="col-sm-offset-4 col-sm-5">
                            <input type="hidden" name="token" id="token" value="<?php echo $token;?>">
                            <button type="submit" name="button"  class="btn  btn-primary"> <i class="fa fa-sign-in"> </i>Login </button>&nbsp;
                          </div>
                        </div>
                   </form>
                             </div>     
                        </div>
                    </div>
                    <!-- End of gallery sorting area -->
                </div>
            </div>
        </div>
    </section>
    <!-- End Of GAllery Isotope Section -->
     <?php include tpl("foot","content"); ?>
    <!-- JS Files -->
    <!-- ==== JQuery 3.3.1 js file==== -->
    <script src="<?php echo TPL;?>static/js/jquery-3.3.1.min.js"></script>

    <!-- ==== Bootstrap js file==== -->
    <script src="<?php echo TPL;?>static/js/bootstrap.bundle.min.js"></script>

    <!-- ==== JQuery Waypoint js file==== -->
    <script src="<?php echo TPL;?>static/js/jquery.waypoints.min.js"></script>

    <!-- ==== Sticky js file==== -->
    <script src="<?php echo TPL;?>static/js/sticky.min.js"></script>
    <!-- ==== Swiper js file==== -->
    <script src="<?php echo TPL;?>static/js/swiper.min.js"></script>
    <!-- ==== Parsley js file==== -->
    <script src="<?php echo TPL;?>static/js/parsley.min.js"></script>

    <!-- ==== Menu  js file==== -->
    <script src="<?php echo TPL;?>static/js/menu.min.js"></script>

    <!-- ==== Scrippt js file==== -->
    <script src="<?php echo TPL;?>static/js/scripts.js?20190123"></script>

    <!-- ==== Custom js file==== -->
    <script src="<?php echo TPL;?>static/js/custom.js"></script>
</body>
</html>